-- GENERATED SPELL FOR [Frozen Earth] --


function spell0_28411(pUnit, Event) --@Ice Spike,n/a--
pUnit:FullCastSpellOnTarget(54532,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_28411', 2000, 1)
end

function Sorts_28411(pUnit, Event)
local choix_sorts_28411 = math.random(0, 0)
if choix_sorts_28411 == 0 then
pUnit:RegisterEvent('spell0_28411', 1, 1)
end
end

function mob28411_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_28411', math.random(1500, 3000), 1)
end

function mob28411_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob28411_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob28411_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(28411, 1, 'mob28411_Action')
RegisterUnitEvent(28411, 2, 'mob28411_Leave')
RegisterUnitEvent(28411, 3, 'mob28411_Kill')
RegisterUnitEvent(28411, 4, 'mob28411_Die')
